<?php 
namespace Admin\Controller;
use Think\Controller;
class ManageController extends Controller{
	function login(){
		//echo"欢迎您登录后台管理系统";
		//$obj= new \Home\Controller\UserController();

		//$obj = A('Home/User');//A('模块/控制器')
		//$obj ->show();
        //$this->display();
		//$obj =R('Home/User/showa');//R('模块/控制器/操作方法')
		//$re=$this->fetch();//得到网页的内容
		//dump($re);//输出网页的内容
         //$this->show($re);//解析html源码的内容
	     /*$arr = array('北京','上海','广州');
	     $this->assign('arr',$arr);
	     $arr1=array(
            array('泰牛'=>'8980','boer'=>'9000','houdun'=>'16800'),
            array('php','thinkphp','javascript'),
	     	);
	     $this->assign('arr1',$arr1);
	     $this->display();*/
	     $gd = new goods();
	     //dump($gd);
	     $gd->id='000';
	     $gd->name='长虹';
	     $gd->price = 5000;
	     $this->assign('gd',$gd); 
	     $this->display();
	}
	//function shows(){
		/*$time = time();
		$this->assign('time',$time);*/
		/*$password='321';
		$this->assign('password',$password);
		$name ='';
		$this->assign('name',$name);*/
		/*$a=8;
		$b=12;
		$sex='女';
		$this->assign('sex',$sex);
		$this->assign('a',$a);
		$this->assign('b',$b);
		$score=86;
		$this->assign('score',$score);
		$this->display();*/
	//}

		function fore(){
			//$arr = array('北京','上海','广州');
	        
	        /*$arr1=array(
            array('泰牛'=>'8980','boer'=>'9000','houdun'=>'16800'),
            array('php','thinkphp','javascript'),
	     	);*/
	     	

	     	$arr3=array('tainiu'=>'aaa','boer'=>'kkk','houdun'=>'lll');
	     	$this->assign('arr3',$arr3);
	        $this->display();
		}
	} 